<?php

$time = time(); //当前时间

//返回配置
return array(
	'time' => $time,
	
	//模板引擎配置
	'view' => array(
		//模板目录
		'TEMPLATEPATH' => '',
		),


	//数据库配置
	'database' => array(
		//数据库驱动, 参见 http://www.php.net/manual/en/pdo.drivers.php
		'driver' => 'mysql',
		'dsn' => 'mysql:dbname=kkyoo_rank;host='.$_SERVER["kkyooDB_HOST"].';port=3306',
		'username' => $_SERVER["kkyooDB_NAME"], 
		'password' => $_SERVER["kkyooDB_PASS"],
		'charset' => 'utf8',
		'collate' => 'utf8_general_ci',
		//额外选项, 参见 http://www.php.net/manual/en/pdo.setattribute.php
    	'options' => array( 
			'ATTR_PERSISTENT' => true, //是否使用长连接 	
			'MYSQL_ATTR_USE_BUFFERED_QUERY' => true,
   			),
		),

	//缓存配置
	'cache' => array(
		
		),

);
//END 数据配置.
?>